package com.xiaoye.app.entity;

/**
 * 页数实体
 * 
 * @author xiaoye
 * @date 2018年5月16日
 * 
 * 
 *
 */
public class Page {
	/**
	 * 页数
	 */
	private Integer page;
	/**
	 * 显示行数
	 */
	private Integer count;
	/**
	 * 总记录数
	 */
	private Integer totalCount;
	/**
	 * 从第几行开始
	 */
	private Integer beginLine;

	public Page() {
		super();
	}

	public Page(Integer page, Integer count, Integer totalCount, Integer beginLine) {
		super();
		this.page = page;
		this.count = count;
		this.totalCount = totalCount;
		this.beginLine = beginLine;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getBeginLine() {
		return beginLine;
	}

	public void setBeginLine(Integer beginLine) {
		this.beginLine = beginLine;
	}

	@Override
	public String toString() {
		return "Page [page=" + page + ", count=" + count + ", totalCount=" + totalCount + ", beginLine=" + beginLine
				+ "]";
	}

}
